<?php

if(isset($_POST['pageId']))
{
    $pId = $_POST['pageId'];
 
    switch($pId)
    {
        case 0:
            include("pages/startPage.php");
        break;
        case 1:
            include("pages/aboutPage.php");
        break;
        case 2:
            include("pages/graphPage.php");
        break;
        case 3:
            include("pages/manageDataPage.php");
        break;  
    }
}
else
{
    die();
}



?>